projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a38d42
)
(w32_menu_show, w32_dialog_show): Call Fsignal to quit
author
Jason Rumney
<jasonr@gnu.org>
Thu, 3 Aug 2006 22:08:09 +0000
(22:08 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 3 Aug 2006 22:08:09 +0000
(22:08 +0000)
when no option selected except when for_click.
src/ChangeLog
patch
|
blob
|
history
src/w32menu.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 78cfea5dff2951e90c838db2688703a0c751fe2e..1a70edd2a07fa764eae80a84a57c7dd374891084 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2006-08-03 Jason Rumney <jasonr@gnu.org>
+
+ * w32menu.c (w32_menu_show, w32_dialog_show): Call Fsignal to quit
+ when no option selected.
+
2006-08-03 Chong Yidong <cyd@stupidchicken.com>
* process.c: Revert last change.
diff --git
a/src/w32menu.c
b/src/w32menu.c
index 389e6c5b8562822d7fa065d7537779dc8c98acda..11af1d66b6fc4ba9a4836350eacbd4676196daec 100644
(file)
--- a/
src/w32menu.c
+++ b/
src/w32menu.c
@@
-1994,6
+1994,9
@@
w32_menu_show (f, x, y, for_click, keymaps, title, error)
}
}
}
+ else if (!for_click)
+ /* Make "Cancel" equivalent to C-g. */
+ Fsignal (Qquit, Qnil);
return Qnil;
}
@@
-2186,6
+2189,9
@@
w32_dialog_show (f, keymaps, title, header, error)
}
}
}
+ else
+ /* Make "Cancel" equivalent to C-g. */
+ Fsignal (Qquit, Qnil);
return Qnil;
}